#ifndef __I_XPNG_H__
#define __I_XPNG_H__

#include <IXImage.h>
class IXpng : public IXImage
{
public:
	virtual	BOOL	IsNull()																		= 0;
	virtual	SIZE	GetPngSize()																	= 0;
	virtual	BOOL	DeleteObject()																	= 0;
	virtual	BOOL	LoadPngFile(LPCWSTR pPngFile,int nWidth = 0)									= 0;
	virtual	void	DrawPng(HDC hdc,RECT src,int x,int y,int nTransparent = 100, int nIndex = 0)	= 0;
	virtual	void	DrawPngEx(HDC hdc,RECT src,int x,int y,int xOffset = 0,int nWidth = 0,
								int yOffset= 0,int nHeight=0, int nTransparent = 100)				= 0;

	virtual	SIZE	GetImageSize()																	= 0;
	virtual	BOOL	LoadImageFile(LPCWSTR pPngFile,int nWidth = 0)									= 0;
	virtual	void	DrawImage(HDC hdc,RECT src,int x,int y,int nTransparent = 100, int nIndex = 0)	= 0;
	virtual	void	DrawImageEx(HDC hdc,RECT src,int x,int y,int xOffset = 0,int nWidth = 0,int yOffset = 0,int nHeight = 0, int nTransparent = 100) = 0;

	virtual void	StretchPng_V(HDC hdc,RECT rc, int nCount = 1, int nIndex = 0, int nTransparent = 100)	= 0;
	virtual void	StretchPng_H(HDC hdc,RECT rc, int nCount = 1, int nIndex = 0, int nTransparent = 100)	= 0;
	virtual void	StretchPng_Full(HDC hdc,RECT rc, int nTransparent = 100)								= 0;
	virtual void	FillRectWithPng(HDC hdc,RECT rc, int nTransparent = 100)									= 0;
};



#endif